import MerchantContainer from "../../pages/merchant/container"
import MerchantIndex from "../../pages/merchant/index"
import MerchantAdd from "../../pages/merchant/add"
import MerchantDetail from "../../pages/merchant/detail"

const Merchant={
      path:"Merchant",
      element:<MerchantContainer></MerchantContainer>,
      children:[
        {
            path:"",
            element:<MerchantIndex></MerchantIndex>
        },
        {
            path:"add",
            element:<MerchantAdd></MerchantAdd>
        },
        {
          path:"detail/:id",
          element:<MerchantDetail></MerchantDetail>
      },
      ]
}

export default Merchant